#ifndef __MMA8451Q_H
#define __MMA8451Q_H
/* MODULE Events */

#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
#include "AS1.h"
#include "CI2C1.h"
#include "Events.h"

void MMA8451Q_Init(void);
void MMA8451Q_read(void);

extern LDD_TDeviceData *Serial1;
extern LDD_TDeviceData *I2C;
extern char OutData[12];
extern char InData[6];
extern unsigned char MMA8451_ID;
extern bool DataSendedFlg;
extern bool DataReceivedFlg;
extern bool DataRightFlg;


#endif
